When we are using the old API, make all items "is_important". That way
authorSoeren Sandmann <sandmann@daimi.au.dk>
Wed, 12 Nov 2003 00:37:02 +0000 (00:37 +0000)
committerSøren Sandmann Pedersen <ssp@src.gnome.org>
Wed, 12 Nov 2003 00:37:02 +0000 (00:37 +0000)
Wed Nov 12 01:29:32 2003  Soeren Sandmann  <sandmann@daimi.au.dk>

* gtk/gtktoolbar.c (gtk_toolbar_internal_insert_element): When we
are using the old API, make all items "is_important". That way
BOTH_HORIZ will continue to show both icon and label in old API
mode.

ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gtk/gtktoolbar.c

index fe41dd56a901392a5a27efecf8a70bc09242d20b..1607d0ca20ed274d9a5242cbb04c2c7de49d5de2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+Wed Nov 12 01:29:32 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
+
+       * gtk/gtktoolbar.c (gtk_toolbar_internal_insert_element): When we
+       are using the old API, make all items "is_important". That way
+       BOTH_HORIZ will continue to show both icon and label in old API
+       mode.
+
 Mon Nov 10 00:40:41 2003  Matthias Clasen  <maclas@gmx.de>
 
        * gtk/gtkeventbox.c (gtk_event_box_set_above_child): 
index fe41dd56a901392a5a27efecf8a70bc09242d20b..1607d0ca20ed274d9a5242cbb04c2c7de49d5de2 100644 (file)
@@ -1,3 +1,10 @@
+Wed Nov 12 01:29:32 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
+
+       * gtk/gtktoolbar.c (gtk_toolbar_internal_insert_element): When we
+       are using the old API, make all items "is_important". That way
+       BOTH_HORIZ will continue to show both icon and label in old API
+       mode.
+
 Mon Nov 10 00:40:41 2003  Matthias Clasen  <maclas@gmx.de>
 
        * gtk/gtkeventbox.c (gtk_event_box_set_above_child): 
index fe41dd56a901392a5a27efecf8a70bc09242d20b..1607d0ca20ed274d9a5242cbb04c2c7de49d5de2 100644 (file)
@@ -1,3 +1,10 @@
+Wed Nov 12 01:29:32 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
+
+       * gtk/gtktoolbar.c (gtk_toolbar_internal_insert_element): When we
+       are using the old API, make all items "is_important". That way
+       BOTH_HORIZ will continue to show both icon and label in old API
+       mode.
+
 Mon Nov 10 00:40:41 2003  Matthias Clasen  <maclas@gmx.de>
 
        * gtk/gtkeventbox.c (gtk_event_box_set_above_child): 
index fe41dd56a901392a5a27efecf8a70bc09242d20b..1607d0ca20ed274d9a5242cbb04c2c7de49d5de2 100644 (file)
@@ -1,3 +1,10 @@
+Wed Nov 12 01:29:32 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
+
+       * gtk/gtktoolbar.c (gtk_toolbar_internal_insert_element): When we
+       are using the old API, make all items "is_important". That way
+       BOTH_HORIZ will continue to show both icon and label in old API
+       mode.
+
 Mon Nov 10 00:40:41 2003  Matthias Clasen  <maclas@gmx.de>
 
        * gtk/gtkeventbox.c (gtk_event_box_set_above_child): 
index fe41dd56a901392a5a27efecf8a70bc09242d20b..1607d0ca20ed274d9a5242cbb04c2c7de49d5de2 100644 (file)
@@ -1,3 +1,10 @@
+Wed Nov 12 01:29:32 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
+
+       * gtk/gtktoolbar.c (gtk_toolbar_internal_insert_element): When we
+       are using the old API, make all items "is_important". That way
+       BOTH_HORIZ will continue to show both icon and label in old API
+       mode.
+
 Mon Nov 10 00:40:41 2003  Matthias Clasen  <maclas@gmx.de>
 
        * gtk/gtkeventbox.c (gtk_event_box_set_above_child): 
index d30b62cb41de8b562fb3740bcb8c4662576a61b5..77532815f450ac56f2ca2d314d21b0a3fc99001c 100644 (file)
@@ -3457,6 +3457,12 @@ gtk_toolbar_internal_insert_element (GtkToolbar          *toolbar,
       break;
     }
 
+  /*
+   * When we are using the old API, consider all items "is_important". That
+   * way BOTH_HORIZ will continue to show both icon and label in old API mode
+   */
+  gtk_tool_item_set_is_important (item, TRUE);
+
   gtk_widget_show (GTK_WIDGET (item));
   
   if (type == GTK_TOOLBAR_CHILD_BUTTON ||